]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Fix broken GLib.Error.matches call
authorAdam Williamson <awilliam@redhat.com>
Sat, 25 Mar 2023 16:19:41 +0000 (09:19 -0700)
committerAdam Williamson <awilliam@redhat.com>
Sat, 25 Mar 2023 18:57:07 +0000 (11:57 -0700)
commita093a721fa7942e378d7caaa15f8f111ecafedc7
tree4ed27dd5393b1596b4c68c1a875a2ba122bf382b
parentf097900373c0d8db2ba89a546490104585de6cf7
screenshot: Fix broken GLib.Error.matches call

You have to pass a domain and an error code, not just an error
code.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6540

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2725>
js/ui/screenshot.js